﻿using System.ComponentModel.DataAnnotations;

namespace FlyingHat.Core.Entities
{
    /// <summary>
    /// 书架
    /// </summary>
    public class Bookshelf : BaseEntity
    {
        /// <summary>
        /// 书架编号
        /// </summary>
        [Required, StringLength(50)]
        public string Code { get; set; } = string.Empty;

        /// <summary>
        /// 图书室ID
        /// </summary>
        public long LibraryId { get; set; }

    }
}
